Smartcat\Includes\Services\App\DocumentsService S

Total Complexity 13
Dependencies 1
Dependents 4
Total lines 128
Lines of code 78
Logical lines of code 30
Comment lines 11
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
mapToModel()
S
60 1 16
findDocumentByPostAndLocale()
S
63 2 10
create()
S
73 1 5
whereTranslationRequestEquals()
S
75 1 4
fetch()
S
71 1 6
updateTranslatedPostId()
S
68 1 7
removePostLanguage()
S
78 1 3
removeAll()
S
79 1 3
removePost()
S
78 1 3
save()
S
73 1 5
getNonImportedItems()
S
67 1 8
cancelImportStatus()
S
67 1 8